package com.tfswx.jcyw.ruleenginedesigner.dto.ffgl;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author ricky
 * @date 2021/11/1
 */
@Data
public class FfSaveInputDTO {
    /**
     * 方法名称
     */
    @ApiModelProperty(value = "方法名称")
    @NotBlank(message = "ffmc-不能为空")
    private String ffmc;

    /**
     * 方法中文名称
     */
    @ApiModelProperty(value = "方法中文名称")
    @NotBlank(message = "ffzwmc-不能为空")
    private String ffzwmc;

    /**
     * className
     */
    @ApiModelProperty(value = "className")
    @NotBlank(message = "classname-不能为空")
    private String classname;

    /**
     * class数据
     */
    @ApiModelProperty(value = "class数据")
    @NotNull(message = "classdata-不能为空")
    @NotEmpty(message = "classdata-不能为空")
    private byte[] classdata;
}
